<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            height: 200px;
        }
    </style>
</head>

<body>

    <a href="https://www.baidu.com">百度</a>
    <a href="#hello">hello</a>
<!-- a标签可以跳转到对应url，还可以#+id定位到页面中的对应id元素，单用#就是回到顶端 -->
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div id="hello"><a href="#">回到顶部</a></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
</body>

</html>